package gll.pub.onepeas.util

class Routes {
    object Todo {
        const val TODO_CONTROLLER_ENDPOINT = "/api/todo"
        const val GET_ITEMS = "/all/{id}"
        const val ADD_ITEM = "/add"
        const val UPDATE_ITEM = "/update"
    }

    object User {
        const val USER_CONTROLLER_ENDPOINT = "/api/user"
        const val REGISTER = "/register"//注册
        const val LOGIN = "/login"//登录
        const val UPDATE = "/update"//更新用户资料
        const val SELECT = "/select"//查询用户信息
        const val USER_INFO = "/user_info"//查询用户信息,从header中获取
    }

    object Video {
        const val VIDEO_CONTROLLER_ENDPOINT = "/api/video"
        const val List = "/list"//视频列表
    }
}